/****************************************
*  Seg 2501, hiver 2002 Devoir # 4
*
*  fichier Client.java
*  modélise la patience des
*  clients de la banque
*
*  @author  Anne Bertrand
*  @author  Robin Tropper
*  @refactoredBy Robin Tropper  B.Sc.A.
*
****************************************/

public class Client {
	private long arrivee;
	private long tempsService;
	private String nom;

	public Client(long depart, String nom) {
		this.nom = nom;
		tempsService = GenerateurR.generer(150,100); 
		arrivee = depart;
	}//fin constructeur

	public long getArrivee() { return arrivee; }
		
	public long getTempsAServir() { return tempsService; }

	public long getAttente() { return (System.currentTimeMillis()-arrivee); }
	
	public String getNom(){ return nom; }

}//fin de classe Client